c# get last 3 characters of string

67

c# get last two characters of string -

var result = str.Substring(str.Length - 2);

Comments

Submit
0 Comments